﻿using System;

namespace ConsoleApp3
{
    class Program
    {
        static void Main(string[] args)
        {
            cat C = new cat("猫");
            C.clime();

            Console.WriteLine();

            dog D = new dog("狗");
            D.swim();

            Console.WriteLine();

            duck DC = new duck("鸭子");
            DC.swim();

            Console.WriteLine();

            monkey M = new monkey("猴子");
            M.clime();

        }
        public Iswim ISwim()
        {
            Iswim t = ISwim();
            return t;
        }
        public Iclimetr1 Iclimetr1()
        {
            Iclimetr1 I = Iclimetr1();
            return I;
        }
    }
}
